package com.platform.entity.excel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单表实体
 * 表名 t_order
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2019-02-16 18:32:26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderExcel implements Serializable {
    private static final long serialVersionUID = 1L;

    //订单编号
    private String orderNo;
    //用户id
    private Long userId;
    //用户名
    private String userName;
    //用户手机号
    private String userPhone;
    //产品名称
    private String productName;
    //交易金额
    private BigDecimal amount;
    //交易数量
    private Integer number;

    private Integer payWay;
    //银行卡交易时有值，银行类型|银行卡类别（0储蓄卡 1信用卡）|银行卡号
    private Integer status;
    //支付状态1未支付2已支付
    private Integer payStatus;
    private String receiveUser;
    private String receivePhone;
    //地址编号
    private String province;
    private String city;
    private String area;
    private String address;
    //实付金额
    private BigDecimal realAmount;
    //支付时间
    private Date payDate;
    private Date createDate;
    //物流单号
    private String logisticsno;
    private String remark;

    private String merchantName;

    private BigDecimal giveEnergy;

    private BigDecimal spcFree;

    private BigDecimal giveTeam;

}
